// pages/usercenter/components/order-btn/index.js
Component({
  properties: {
    name:{
      type:String,
      value:""
    },
    danger:{
      type:Boolean,
      value:false
    },
    style:{
      type:String,
      value:""
    }
  },  
  data: {
  },
  methods: {
    onClick(e) {
      this.triggerEvent('click',{name:e.currentTarget.dataset.name});
    }
  }
})
